﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace P2PLib.Client.Command
{
    public class CCCommandBase
    {
        private CCCommandType type;

        public CCCommandType Type
        {
            set
            {
                this.type = value;
            }
            get
            {
                return this.type;
            }
        }

        public CCCommandBase(CCCommandType t)
        {
            this.type = t;
        }

        public virtual void ReadFromStream(Stream stream)
        {
        }

        public virtual void WriteToStream(Stream stream)
        {
        }
    }
}
